package top.zhongyy.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author Andy
 * @since 2021-04-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "BlogLog对象", description = "")
@TableName(value = "t_blog_log")
public class BlogLog implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    @ApiModelProperty(value = "url")
    private String logUrl;
    
    @ApiModelProperty(value = "ip地址")
    private String logIp;
    
    @ApiModelProperty(value = "详细地址")
    private String logAddress;
    
    @ApiModelProperty(value = "运营商")
    private String logOperator;
    
    @ApiModelProperty(value = "执行方法")
    private String logClassMethod;
    
    @ApiModelProperty(value = "操作页面")
    private String logModule;
    
    @ApiModelProperty(value = "执行操作")
    private String logInfo;
    
    @ApiModelProperty(value = "浏览器内核")
    @TableField(value = "browser")
    private String browser;
    
    @ApiModelProperty(value = "操作系统")
    @TableField(value = "clientOS")
    private String clientOS;
    
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "执行时间")
    private Date createTime;
    
}
